import request from "@/utils/adminRequest";

//管理员登录
export const adminLoginService=(loginData)=>{
    const params = new URLSearchParams()
    params.append('AdminName', loginData.value.userName)
    params.append('password', loginData.value.password)
    return request.post('admin/loginWithAdminNamePassword', params);
}

